
export default class History {
    constructor(router){
        this.router = router
    }
    transitionTo(path,cb){
        // console.log(path,cb)
       let route =  this.router.match(path)
       console.log(route)
       cb&&cb();
    }
}